class CountryEntity {
  String id, country;
  CountryEntity({this.id, this.country});
  CountryEntity.fromJson(dynamic json) {
    if (json != null && json is Map) {
      id = json['id'];
      country = json['country'];
    }
  }

  // @override
  // String toString() => '{cat_id=$cat_id, level=$level, cat_name=$cat_name}';
}

class AreaEntity {
  String id, province;

  AreaEntity.fromJson(dynamic json) {
    if (json != null && json is Map) {
      id = json['id'];
      province = json['province'];
    }
  }

  // @override
  // String toString() => '{cat_id=$cat_id, level=$level, cat_name=$cat_name}';
}

class CityEntity {
  String id, city;

  CityEntity.fromJson(dynamic json) {
    if (json != null && json is Map) {
      id = json['id'];
      city = json['city'];
    }
  }

  // @override
  // String toString() => '{cat_id=$cat_id, level=$level, cat_name=$cat_name}';
}
